# json_test:test_json.cc
# 	g++ $^ -o $@ -std=c++11 -ljsoncpp
.PHONY:all
all: server client 
server:server.cc
	g++ $^ -o $@ -std=c++17 -ljsoncpp 
client:client.cc
	g++ $^ -o $@ -std=c++17 -ljsoncpp 
.PHONY:debug
debug:server-debug client-debug
server-debug:server.cc
	g++ $^ -o $@ -std=c++17 -ljsoncpp -g 
client-debug:client.cc
	g++ $^ -o $@ -std=c++17 -ljsoncpp -g
.PHONY:clean
clean:
	rm -rf server client server-debug client-debug